import axios from "axios";

export function loginApi(data){  //登录接口
  return axios({
    method:'POST',
    url:'/api/sprs/auth/login/pwd',
    data
  })
}

export function getAuthRouters(){  //登录接口
  return axios({
    method:'POST',
    url:'/api/sprs/auth/routers'
  })
}

export function loginOut(){  //登录接口
  return axios({
    method:'POST',
    url:'/api/sprs/auth/logout'
  })
}